package junit;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Test;

import util.EmailUtil;
import util.RandomUtil;

public class UtilJunit {

	private static final Log log = LogFactory.getLog(UtilJunit.class);

	@Test
	public void sendEmailTest() {

		EmailUtil.sendEmail("liufei88877789@sina.com", "D:/图片/仙剑四/215115HU6-16.jpg");

	}

	@Test
	public void test1(){
		for(int i =0;i<20;i++){
		log.info(RandomUtil.getRandomInt(10));
		}
	}
}
